package com.gitee.neuray.security.admin.menu.mapper;

import com.gitee.neuray.security.admin.menu.entity.AdminMenuEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 代码生成
 *
 * @author zhoyou
 * @email ${email}
 * @date 2020-03-12 05:43:38
 */
public interface AdminMenuMapper extends Mapper<AdminMenuEntity> {
    /**
     * 根据角色Id获取权限下的Element
     * @param roleId 角色Id
     * @return
     */
    List<AdminMenuEntity> selectMenuByRoleId(@Param("roleId") List<String> roleId);

}
